package com.alibaba.algo.entity.dict;

import com.alibaba.algo.core.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 数据字典
 */
@Setter
@Getter
public class SysDict extends BaseEntity {

    /**
     * 字典项code
     */
    private String code;
    /**
     * 字典项name
     */
    private String name;
    /**
     * 排序序号
     */
    private Integer sort;
    /**
     * 描述
     */
    private String desc;
    /**
     * 父字典项code
     */
    private String parentCode;


    /////////////查询字段///////////////
    private String codeKey;

    private String nameKey;

    private boolean rootDict;

}
